package org.aiforum.backend.mapper;

import java.util.List;

import org.aiforum.backend.common.QueryPreperty;
import org.aiforum.domain.Admin;

/**
 * 管理员映射接口
 * @author Administrator
 *
 */
public interface AdminMapper {
   
	void insert(Admin admin);
	
	void update(Admin admin);
	
	Admin findById(int adminId);
	
	void delete(int adminId);
	
	List<Admin> queryByPreperty(QueryPreperty queryPreperty);
	
	int checkExists(QueryPreperty queryPreperty);
	
}
